export enum IEWpsMenuItems {
    FILE=1,
    EDIT=2,
    VIEW=4,
    INSERT=8,
    FORMAT=16,
    TOOL=32,
    CHART=64,
    HELP=128
}
export enum IEWpsFileSubmenuItems {
    NEW=1, OPEN=2, CLOSE=4, SAVE=8, SAVEAS=16, PAGESETUP=32, PRINT=64, PROPERTY=128
}
export enum YozoApiMethod {
    OPEN=3,    //打开文档方法编号
    SAVE=6,
    CLOSE=7,
    ISOPENED=10000,
    DELETEDOC =10001,   //删除文件的方法编号
    CREATEDOC =10002,   //新建文件方法编号
    LISTALL=10003,
    GETPARENTPATH=10004,  //获取项目父路径方法编号
    CREATEDIR=10005,     //新建文件夹的方法编号
    SAVEPASS=10006,   //保存密码的方法编号
    CHECKPASS=10007,  //检查密码的方法编号
    GETPASS=10008,   //获取密码的方法编号
    SETPASS=10009,   //设置密码的方法编号
    DELETEPASS=10010,  //删除密码的方法编号
    RENAME=10011,   //改变文件或文件夹的方法编号
    GETNOTICE=10013,  //获取公告相关信息的方法编号
    ISOPENNOTICE=10015  //是否开启公告的方法编号
}

export enum YozoApiURI {
    API_URI="api.do",
    UPLOAD_URI="uploadFile.do",
    DOWNLOAD_URI="downloadFile.do",
    FILEMANAGEMENT_URI="fileManagement.do"
}

export enum AjaxType {
    GET = "GET",
    POST = "POST"
}

export enum AjaxDataType {
    xml = "xml",
    html = "html",
    script = "script",
    json = "json",
    jsonp = "jsonp",
    text = "text"
}

export enum YozoMethod {
    REQUESTSERVER = 'requestServer',
    EXECCOMMAND='execCommand',
    OPENFILE = 'openFile',
    DELETEFILE = 'deleteFile',
    UPLOADFILE = 'uploadFile',
    ELEMENTOPERATE = 'elementOperate',
    FUNCTIONAPPLY = 'functionApply',
    ADDBOOKMARK='addBookmark',
    DELETEBOOKMARK='deleteBookmark',
    ACCEPTALLREVISIONS='acceptAllRevisions',
    GETBOOKMARKVALUE='getBookmarkValue',
    GETALLBOOKMARKVALUE='getAllBookmarkValue',
    SETBOOKMARKVALUE='setBookmarkValue',
    LOCATEBOOKMARK='locateBookmark',
    GETCELLTEXT='getCellText'
}